using System;
using System.Collections.Generic;
using System.Text;

namespace CasinoServer.BusinessEntities
{
    class tmpPokerException:Exception
    {
        private PokerExceptionType PokerExceptionTypeField;

        public PokerExceptionType PokerExceptionId
        {
            get { return PokerExceptionTypeField; }
            set { PokerExceptionTypeField = value; }
        }

        public enum PokerExceptionType
        {
            NotEnaughCashToBet_HasToGoAllIn,
            PlayerWonButActualBetWasNotZero,
            PlayerLostButActualBetWasNotZero,
            OwnerHasToSitDownFirst,
            ThereAreNoFreeSeats,
            OnwerHasLeftTheTable,
            PlayerNotFound,
            NewRoundButPlayerStillHasActualBet,
            CouldntFindDealer
        }

        public tmpPokerException(PokerExceptionType ExceptionType)
        {
            this.PokerExceptionTypeField = ExceptionType;
        }
    }
}
